export function setStorage(userData){
	 // localStorage.setItem('userInfoStorage',JSON.stringify(userData)) 
	 uni.setStorageSync('userInfoStorage',userData)
}

export function getStorage(){
	const userInfo = {
		token:'',
		userId:''
	}
	// let res = localStorage.getItem('userInfoStorage')
	let res = uni.getStorageSync('userInfoStorage')
	return res ? res : userInfo
}